home *** CD-ROM | disk | FTP | other *** search
- // SlsDemoDoc.cpp : implementation of the CSlsDemoDoc class
- //
-
- #include "stdafx.h"
- #include "SlsDemo.h"
-
- #include "SlsDemoDoc.h"
-
- #ifdef _DEBUG
- #define new DEBUG_NEW
- #undef THIS_FILE
- static char THIS_FILE[] = __FILE__;
- #endif
-
- /////////////////////////////////////////////////////////////////////////////
- // CSlsDemoDoc
-
- IMPLEMENT_DYNCREATE(CSlsDemoDoc, CDocument)
-
- BEGIN_MESSAGE_MAP(CSlsDemoDoc, CDocument)
- //{{AFX_MSG_MAP(CSlsDemoDoc)
- // NOTE - the ClassWizard will add and remove mapping macros here.
- // DO NOT EDIT what you see in these blocks of generated code!
- //}}AFX_MSG_MAP
- END_MESSAGE_MAP()
-
- /////////////////////////////////////////////////////////////////////////////
- // CSlsDemoDoc construction/destruction
-
- CSlsDemoDoc::CSlsDemoDoc()
- {
- // TODO: add one-time construction code here
-
- }
-
- CSlsDemoDoc::~CSlsDemoDoc()
- {
- }
-
- BOOL CSlsDemoDoc::OnNewDocument()
- {
- if (!CDocument::OnNewDocument())
- return FALSE;
-
- // TODO: add reinitialization code here
- // (SDI documents will reuse this document)
-
- return TRUE;
- }
-
-
-
- /////////////////////////////////////////////////////////////////////////////
- // CSlsDemoDoc serialization
-
- void CSlsDemoDoc::Serialize(CArchive& ar)
- {
- if (ar.IsStoring())
- {
- // TODO: add storing code here
- }
- else
- {
- // TODO: add loading code here
- }
- }
-
- /////////////////////////////////////////////////////////////////////////////
- // CSlsDemoDoc diagnostics
-
- #ifdef _DEBUG
- void CSlsDemoDoc::AssertValid() const
- {
- CDocument::AssertValid();
- }
-
- void CSlsDemoDoc::Dump(CDumpContext& dc) const
- {
- CDocument::Dump(dc);
- }
- #endif //_DEBUG
-
- /////////////////////////////////////////////////////////////////////////////
- // CSlsDemoDoc commands
-